package com.mayuhao.coursemanage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mayuhao.coursemanage.entity.CssCourse;
import com.mayuhao.coursemanage.entity.CssCourseVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 马宇豪
 * @since 2022-10-25
 */
public interface ICssCourseService extends IService<CssCourse> {

    /**
     * @return com.baomidou.mybatisplus.extension.plugins.pagination.Page<com.mayuhao.coursemanage.entity.CssCourseVO>
     * @description 请修改方法描述
     * @methodName findPage
     * @params [pageNum, pageSize, searchId, searchName]
     * @paramType [java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String]
     * @author 马宇豪
     * @date 2022/10/25 0025 下午 9:12
     * @email 1757442521@qq.com
     **/
    Page<CssCourseVO> findPage(Integer pageNum, Integer pageSize, String searchId, String searchName);

    /**
     * @return java.util.List
     * @description 请修改方法描述
     * @methodName getEcharts
     * @params []
     * @paramType []
     * @author 马宇豪
     * @date 2022/11/12 0012 下午 9:24
     * @email 1757442521@qq.com
     **/
    List<CssCourseVO> getEcharts();

    void export(HttpServletResponse response) throws UnsupportedEncodingException;

    void imp(MultipartFile file);
}
